Lockdoor(kdevt dev, int lock)

This function (and no other code) controls locking of the door, if the drive allows this. The value of lock controls the desired locking state:
0 Unlock door, manual opening is allowed
1 Lock door, tray cannot be ejected manually
Return values are as for traymove().